package kr.hkit.powerjava.chther04;

import java.util.Scanner;

public class Add2 {
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		int x;
		int y;
		int sum;
		
		System.out.println("첫번째 숫자를 입력 하세요");
		x = input.nextInt();
		
		System.out.println("두번째 숫자를 입력 하세요");
		y = input.nextInt();
		
		sum = x+y;
		
		System.out.println("입력한"+x+"과"+y+"의합은"+sum);
		
		System.out.println("문장을 입력하세요");
		
		String str =input.next();
		System.out.println("입력한 문장은:" +str);
	}
}

